package com.example.demo07.dao;

import com.example.demo07.entity.User;

import java.awt.*;

public interface UserDao {
    List findAll();

    int insert(User user);

    java.util.List<User> FindAll();

    int insertUser(User user);

    User findByName(User user);
    User findByPassword(User user);
}
